<div id="container">
    <div id="header">
        <button onclick="useList1()">Use <code>['Elephant', 'Lion', 'Monkey']</code></button>
        <button onclick="useList2()">Use <code>['Elephant', 'Giraffe', 'Tiger']</code></button>
    </div>
    <div id="myGrid" class="ag-theme-quartz" style="height: 100%;"></div>
</div>